package com.dahua.messagesyncsh.service;

import com.dahua.messagesyncsh.criteria.EquipmentQueryCriteria;
import com.dahua.messagesyncsh.entity.Equipment;
import com.dahua.messagesyncsh.entity.LatestEquipmentStatus;
import com.dahua.messagesyncsh.pojo.EquipmentInfo;
import com.dahua.messagesyncsh.service.enums.EquipmentSType;

import java.util.List;

public interface EquipmentService {
    void caching();

    EquipmentInfo enquire(String registerNumber);

    List<Equipment> detail(EquipmentQueryCriteria criteria);

    List<Equipment> detail(EquipmentQueryCriteria criteria, EquipmentSType sType);

    void updateLatestStatus(LatestEquipmentStatus latestEquipmentStatus);
}
